package com.cxy.dao;

import com.cxy.pojo.Staff;
import com.cxy.service.StaffService;
import org.apache.ibatis.annotations.Insert;

/**
 * @author 蔡心勇
 * @create 2022/3/15 - 17:04
 */
public interface StaffDao {

    @Insert("insert into staff values (null,#{staffName},#{staffSex},#{staffEmail},#{deptId})")
    int addStaff(Staff staff);
}
